package com.anfeng.cms.domain.emp;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴朋
 * @since 2019-07-15
 */
@TableName("af_employee_info")
public class AfEmployeeInfo extends Model<AfEmployeeInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 员工id
     */
	private String id;
    /**
     * 员工名
     */
	private String name;
    /**
     * 性别 （1 男 2 女）
     */
	private Integer gender;
    /**
     * 部门id
     */
	@TableField("dept_id")
	private String deptId;
    /**
     * 部门名
     */
	@TableField("dept_name")
	private String deptName;
    /**
     * 岗位id
     */
	@TableField("post_id")
	private String postId;
    /**
     * 岗位名
     */
	@TableField("post_name")
	private String postName;
    /**
     * 工种id
     */
	@TableField("job_id")
	private String jobId;
    /**
     * 工种名称
     */
	@TableField("job_name")
	private String jobName;
    /**
     * 员工编号
     */
	@TableField("emp_no")
	private String empNo;
    /**
     * 入职时间
     */
	@TableField("hire_date")
	private Date hireDate;
    /**
     * 离职时间
     */
	@TableField("dismissal_date")
	private Date dismissalDate;
    /**
     * 手机号
     */
	private String mobile;
    /**
     * 证件号
     */
	@TableField("identity_no")
	private String identityNo;
    /**
     * 在职状态
     */
	private Integer status;
    /**
     * 数据状态（1 正常 2 逻辑删除）
     */
	private Integer state;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 修改时间
     */
	@TableField("modified_time")
	private Date modifiedTime;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getPostId() {
		return postId;
	}

	public void setPostId(String postId) {
		this.postId = postId;
	}

	public String getPostName() {
		return postName;
	}

	public void setPostName(String postName) {
		this.postName = postName;
	}

	public String getJobId() {
		return jobId;
	}

	public void setJobId(String jobId) {
		this.jobId = jobId;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getEmpNo() {
		return empNo;
	}

	public void setEmpNo(String empNo) {
		this.empNo = empNo;
	}

	public Date getHireDate() {
		return hireDate;
	}

	public void setHireDate(Date hireDate) {
		this.hireDate = hireDate;
	}

	public Date getDismissalDate() {
		return dismissalDate;
	}

	public void setDismissalDate(Date dismissalDate) {
		this.dismissalDate = dismissalDate;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getIdentityNo() {
		return identityNo;
	}

	public void setIdentityNo(String identityNo) {
		this.identityNo = identityNo;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifiedTime() {
		return modifiedTime;
	}

	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "AfEmployeeInfo{" +
			"id=" + id +
			", name=" + name +
			", gender=" + gender +
			", deptId=" + deptId +
			", deptName=" + deptName +
			", postId=" + postId +
			", postName=" + postName +
			", jobId=" + jobId +
			", jobName=" + jobName +
			", empNo=" + empNo +
			", hireDate=" + hireDate +
			", dismissalDate=" + dismissalDate +
			", mobile=" + mobile +
			", identityNo=" + identityNo +
			", status=" + status +
			", state=" + state +
			", createTime=" + createTime +
			", modifiedTime=" + modifiedTime +
			"}";
	}
}
